package cn.edu.lcu.cs.ssm.mapper;

import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import cn.edu.lcu.cs.ssm.entity.Customer;

public interface CustomerMapper {
	@Select("select * from customer where id=#{id}")
	Customer findById(Long id);

//	@Select("select * from customer where id=#{id}")
	Customer findByIdWithOrders(Long id);

}
